Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 17: Mapping Textures

../ch17/17fig04c.gif
Figure 17.4c

A texture mapped cylinder. Compare with Figures 17.4a, b, and d.

17fig04c.wrl
Click on the image to view the VRML scene.

#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright (c) 1997
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Shape {
    appearance Appearance {
        material Material { }
        texture ImageTexture {
            url "testimg.jpg"
        }
    }
    geometry Cylinder { }
}